package com.zkthink.ceres.applet.server.controller;

import com.zkthink.base.R;
import com.zkthink.ceres.applet.common.domin.vo.PageDateTypeIdVo;
import com.zkthink.ceres.applet.server.domain.vo.FindServerDetailVo;
import com.zkthink.ceres.applet.server.service.AppletServerService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
 * @Author cmz
 * @Date 2024-04-28 14:33
 */
@Slf4j
@Validated
@RestController
@RequestMapping("/applet/pcStoreProject")
@Api(value = "pcStoreProject", tags = "服务信息")
public class PcStoreProjectController {
    @Autowired
    private AppletServerService appletServerService;
    
//    @ApiOperation(value = "查询服务信息列表", notes = "查询服务信息列表")
//    @PostMapping(value = "/findAll")
//    public R findAll(@RequestBody PageDateTypeIdVo pageDateTypeIdVo) {
//        return appletServerService.findByPage(pageDateTypeIdVo);
//    }
//
    @ApiOperation(value = "查询服务信息详情", notes = "查询服务信息详情")
    @PostMapping(value = "/serverDetail")
    public R serverDetail(@RequestBody FindServerDetailVo findServerDetailVo) {
        return appletServerService.serverDetail(findServerDetailVo);
    }

    
    
    
}
